//把一个数组中的元素复制到另一个新数组中

public class A13{
	public static void main(String[] args){
		int[] arr = {1,2,3,4,5};
		int[] newArr = new int[arr.length];
		for(int i = 0;i < arr.length;i++){
			newArr[i] = arr[i];
			System.out.print(newArr[i]+" ");
		}
	}
}